<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <link href="../../css/functionHelp.css" rel="stylesheet">
    <title>RAND</title>
    <meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1,user-scalable=no">
    <meta name="description" content="RAND() 得出大于或等于 0 且小于 1 的随机数。">
</head>
<body dir="ltr" id="ffa590301a" class="AppleTopic apd-topic"><a name="ffa590301a"></a>
<figure class="topicIcon"><img src="Art/ixicnff.png" alt="" height="32" width="32"></figure>
<h1>RAND</h1>
<p>RAND 函数得出大于或等于 0 且小于 1 的随机数。</p>
<div class="HIStrings"><p><strong class="Term">RAND</strong>()</p></div>
<div id="ffa58c7842" class="Subhead"><h2 class="Name">注释</h2>
    <ul>
        <li><p>RAND 函数不包含任何参数。但是，它必须包括圆括号。</p></li>
        <li><p>每次任何包含公式的单元格出现更改都会生成一个新的随机数。</p></li>
    </ul>
</div>
<table data-type="1 column" aria-label="RAND 函数示例">
    <thead>
    <tr>
        <th scope="col"><p class="TableHead">示例</p></th>
    </tr>
    </thead>
    <tbody>
    <tr>
        <td><p>例如，在四次重算后，=RAND() 将分别得出 0.939067584462464、0.585520338732749、0.989037489518523 和 0.691605266649276。</p>
        </td>
    </tr>
    </tbody>
</table>
<div class="LinkUniversal"><strong>另请参阅</strong><a href="ffa58c2118.html#ffa58c2118"
                                                   class="xRef AppleTopic">RANDBETWEEN</a></div>
</body>
</html>